From c322cc77175bd8e709acdc1dadf51b3f063112e5 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Mon, 26 Mar 2007 13:59:36 +0100 Subject: [PATCH] Fix xm mem-set on non-running domains. Closes bug #934. Signed-off-by: Masaki Kanno --- tools/python/xen/xend/XendDomainInfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 7d0da6fc51..091d2241c9 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -573,8 +573,8 @@ class XendDomainInfo: """Set the memory target of this domain. @param target: In MiB. """ - log.debug("Setting memory target of domain %s (%d) to %d MiB.", - self.info['name_label'], self.domid, target) + log.debug("Setting memory target of domain %s (%s) to %d MiB.", + self.info['name_label'], str(self.domid), target) if target <= 0: raise XendError('Invalid memory size') -- 2.30.2